package com.restaurant.application.cashierfacade;

import com.nebutown.description.UnitDescription;

public class CashierFacadeDesc extends UnitDescription {

    public static void main(String[] args) {
        getUnitDescription().run("./");
    }

    private static UnitDescription getUnitDescription() {
        UnitDescription desc = UnitDescription.basicUnit(CashierFacade.class, null);
        desc.nextBean("CouponData")
                .add("id", String.class)
                .add("createTime", Long.class)
                .add("modifyTime", Long.class)
                .add("receiveTime", Long.class)
                .add("number", String.class)
                .add("endTime", Long.class)
                .add("type", String.class)
                .add("modality", String.class)
                .add("fullMoney", Double.class)
                .add("minusMoney", Double.class)
                .add("way", String.class)
        ;
        return desc;
    }
}
